package com.example.ylgh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author hx
 * @create 2022/5/7 10:24
 * description:
 */
@SpringBootApplication
@ComponentScan( basePackages = "com.example")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.example")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
